package com.literaryfamily.literaryfamily.dao;

import com.literaryfamily.literaryfamily.entity.UserPoints;
import com.literaryfamily.literaryfamily.entity.UserPointsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserPointsMapper {
    long countByExample(UserPointsExample example);

    int deleteByExample(UserPointsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UserPoints row);

    int insertSelective(UserPoints row);

    List<UserPoints> selectByExample(UserPointsExample example);

    UserPoints selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") UserPoints row, @Param("example") UserPointsExample example);

    int updateByExample(@Param("row") UserPoints row, @Param("example") UserPointsExample example);

    int updateByPrimaryKeySelective(UserPoints row);

    int updateByPrimaryKey(UserPoints row);
}